import http from '../http.js'


export function queryById(params) {
	return http.get('/hospitalInfo/queryById', params)
}

export function queryByPage(params) {
	return http.post('/hospitalInfo/queryByPage', params)
}


export function getHospitals(params) {
	return http.post('/hospitalInfo/getHospitals', params)
}

export function getHospitalsRule(params) {
	return http.post('/hospitalInfo/getHospitalsRule', params)
}

// 医院距离查询
export function queryHospitalDistance(params) {
	return http.get('/hospitalInfo/distance', params)
}

// 医院距离查询
export function distanceRule(params) {
	return http.get('/hospitalInfo/distanceRule', params)
}

// 护士技能
export function selectMedcalProject(params) {
	return http.get('/nurseInfoDoor/queryByName', params)
}

// 护士信息
export function nurse(params) {
	return http.get('/nurseInfoDoor/hospital', params)
}